package com.sunshine.lnuplus.viewModel

import android.app.Application
import android.content.Context
import androidx.lifecycle.MutableLiveData
import com.sunshine.lnuplus.base.BaseViewModel

class TimetableFragmentViewModel(application: Application) : BaseViewModel(application) {

    private val appSetting = application.getSharedPreferences("com.sunshine.lnuplus_preferences", Context.MODE_PRIVATE)

    fun isNight(): Boolean {
        return appSetting.getBoolean("night", false)
    }

    fun getDateAndTimeTextColor(): String{
        return appSetting.getString("date_and_time_text_color", "#FFFFFF")!!
    }
}
